{% extends '_link.html' %}

{% block content %}
    <div class="main-box card">
        <div class="card-header" style="background-color: #212121;color: white">
            <h2>Admin Login</h2>
        </div>

        <div class="card-body">
            <hr>
            <form METHOD="post" novalidate>

                {# username#}
                <div class="form-group row">
                    <label for="username" class="col-sm-2">Username</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="username" id="username"
                               placeholder="please enter username"/>
                    </div>
                </div>
                {#  pwd#}
                <div class="form-group row">
                    <label for="password" class="col-sm-2">Password</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" id="password"
                               placeholder="please enter a 8 character password" name="password"/>
                    </div>
                </div>

                <button type="submit" class="btn btn-primary" style="margin: 20px 0;width: 100%">Submit</button>
            </form>
        </div>

    </div>

    <style>
        .main-box {
            margin: 80px auto;
            width: 600px;
        }
    </style>
{% endblock %}